﻿<Window x:Class="ACPLogAnalyzer.Update"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Check for updates to ACP Log Analyzer" Height="547" Width="548" WindowStartupLocation="CenterScreen" Activated="Window_Activated" ResizeMode="NoResize" Loaded="Window_Loaded">
    <Grid>
        <Label Content="An update is available" Height="43" HorizontalAlignment="Left" Name="labelTitle" VerticalAlignment="Top" Width="518" HorizontalContentAlignment="Center" FontSize="20" FontStyle="Normal" FontWeight="Bold" Margin="12,0,0,0" />
        <Label Content="Version running:" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="12,49,0,0" Name="labelVersionRunningx" Width="108" FontSize="13" FontWeight="Normal" VerticalAlignment="Top" />
        <Label Content="Version available:" FontSize="13" FontWeight="Normal" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="12,75,0,0" Name="labelVersionAvailablex" VerticalAlignment="Top" Width="108" />
        <ProgressBar Height="13" HorizontalAlignment="Left" Margin="197,89,0,0" Name="progressBarDownload" VerticalAlignment="Top" Width="235" Visibility="Visible" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Foreground="#FF47EF15" />
        <Button Content="Download Update" Height="35" HorizontalAlignment="Left" Margin="197,48,0,0" Name="buttonDownloadUpdate" VerticalAlignment="Top" Width="235" Click="buttonDownloadUpdate_Click" FontSize="14" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
        <CheckBox Content="Always check for updates" IsChecked="{Binding Source={StaticResource Settings}, Path=Default.Always_Check_For_Updates}" Height="26" HorizontalAlignment="Left" Margin="122,108,0,0" Name="checkBoxCheck4Updates" VerticalAlignment="Top" FontSize="14" Width="186" />
        <TextBox Height="25" HorizontalAlignment="Left" Margin="122,77,0,0" Name="textBoxAvailable" VerticalAlignment="Top" Width="69" FontSize="13" FontWeight="Bold" TextAlignment="Center" />
        <TextBox Height="25" HorizontalAlignment="Left" Margin="122,48,0,0" Name="textBoxRunning" VerticalAlignment="Top" Width="69" FontSize="13" FontWeight="Bold" TextAlignment="Center" />
        <GroupBox Header="Release Notes (requires web connection)" Height="323" HorizontalAlignment="Left" Margin="8,140,0,0" Name="groupBox1" VerticalAlignment="Top" Width="524">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="234*" />
                    <ColumnDefinition Width="278*" />
                </Grid.ColumnDefinitions>
                <WebBrowser Height="287" HorizontalAlignment="Left" Margin="6,6,0,0" Name="webBrowserRelNotes" VerticalAlignment="Top" Width="500" Grid.ColumnSpan="2" LoadCompleted="webBrowserRelNotes_LoadCompleted" />
            </Grid>
        </GroupBox>   
        <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom">
            <Button Content="No Thanks" Height="35" Name="buttonClose" Click="buttonClose_Click" Width="235" Margin="160,0,0,7" FontSize="14" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
        </StackPanel>
    </Grid>
</Window>
